import config from "@/config";
import http from "@/utils/request";
// 获取页面所有信息
export const getAllData = {
	url:`${config.BASE_URL}/politicenter/getfailed`,
	name:'政审中-获取所有信息',
	get: async function() {
		return await http.get(this.url)
	}
}
// 姓名查询功能
export const searchData = {
	url: `${config.BASE_URL}/politicenter/findfailed`,
	name:"政审不合格-姓名查找功能",
	post: async function(params="")  {
		return await http.post(this.url+params)
	}
}
// 导出功能
export const deriveData = {
	url: `${config.BASE_URL}//politicenter/exportfailed`,
	name:"政审不合格-导出功能",
	get: async function()  {
		return await http.get(this.url)
	}
}
// 政审结果详细查看功能
export const viewDetail = {
	url:`${config.BASE_URL}/Record/`,
	name:'政审不合格-政审结果详细查看',
	get: async function(){
		return await http.get(this.url)
	}
}
